﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Protegidos/Pessoas/GENTE_Pes.master" AutoEventWireup="true" CodeFile="Incluir.aspx.cs" Inherits="Protegidos_Pessoas_Incluir" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content2" ContentPlaceHolderID="cphSubConteudo" Runat="Server">

<table width="99%" align="center">
    <tr>
        <td>
            <div class="Titulo01">Inclusão</div>
            <div class="Titulo02">Pessoas</div>
        </td>    
    </tr>
    <tr>
        <td>
        
            <table width="100%"  align="right">
            
                <tr id="trMensagem" runat="server" visible="false">
                    <td valign="middle" style="background-color:#FFFFAA; height:25px; width:100%">
                        &nbsp;&nbsp;
                        <asp:Label ID="lblResultado" runat="server" Text="" Font-Names="Verdana" Font-Size="9"></asp:Label>
                    </td>
                </tr>
            
                <%--INICIO - DADOS PRINCIPAIS--%>   
                <tr>
                    <td>
                        <div class="subTitulo_pagina">Dados Principais</div>
                        <div class="espaco"></div>
                    </td>
                </tr>
                <tr>
                    <td>
                    
                        <table class="textoCZ_12B">
                            <tr>
                                <td style="width: 150px">Nome:</td>
                                <td>
                                    <asp:TextBox ID="txtNome" runat="server" Width="500px"></asp:TextBox>
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="txtNome"
                                        InitialValue="" ErrorMessage="*" ValidationGroup="1" />
                                </td>
                            </tr>
                            <tr>
                                <td>Apelido:</td>
                                <td>
                                    <asp:TextBox ID="txtApelido" runat="server" Width="500px"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td>Sexo:</td>
                                <td>
                                    <telerik:RadComboBox ID="rcbSexo" runat="server" Skin="Telerik" Width="240px">
                                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                                    </telerik:RadComboBox>
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator5" ControlToValidate="rcbSexo"
                                        InitialValue=" -- Selecione -- " ErrorMessage="*" ValidationGroup="1" />
                                </td>
                            </tr>
                            <tr>
                                <td>Estado Civil:</td>
                                <td>
                                    <telerik:RadComboBox ID="rcbEstadoCivil" runat="server" Skin="Telerik" Width="240px" >
                                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                                    </telerik:RadComboBox>
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator17" ControlToValidate="rcbEstadoCivil"
                                        InitialValue=" -- Selecione -- " ErrorMessage="*" ValidationGroup="1" />
                                </td>
                            </tr>
                            <tr>
                                <td>Data de Nascimento:</td>
                                <td>
                                    <telerik:RadDatePicker ID="txtDataNascimento" runat="server" ShowPopupOnFocus="true" >
                                        <DateInput EmptyMessage="dd/MM/aaaa"></DateInput>
                                    </telerik:RadDatePicker>
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator4" ControlToValidate="txtDataNascimento"
                                        InitialValue="" ErrorMessage="*" ValidationGroup="1" />
                                </td>
                            </tr>
                        </table>
                    
                    </td>
                </tr>
                <%--FIM - DADOS PRINCIPAIS--%>
                
                <%--INICIO - DOCUMENTOS--%>   
                <tr>
                    <td>
                        <div class="subTitulo_pagina">Documento</div>
                        <div class="espaco"></div>
                    </td>
                </tr>
                <tr>
                    <td>
                        
                        <table class="textoCZ_12B">
                            <tr>
                                <td>CPF:</td>
                                <td>
                                    <asp:TextBox ID="txtCPF" runat="server" Width="200px"></asp:TextBox>
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator3" ControlToValidate="txtCPF"
                                        InitialValue="" ErrorMessage="*" ValidationGroup="1" />
                                </td>
                            </tr>
                        </table>
                    
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Button ID="btnLimpar" runat="server" Text="Limpar" Width="110px" ValidationGroup="1" />&nbsp;&nbsp;
                        <asp:Button ID="btnSalvar" runat="server" Text="Salvar" Width="110px" 
                            ValidationGroup="1" onclick="btnSalvar_Click" />&nbsp;&nbsp;
                    </td>
                </tr>
                <%--FIM - DOCUMENTOS--%>
                
            </table>
        
        </td>
    </tr>
</table>
    

</asp:Content>

